K1 Max problems

I bought the K1 Max yesterday. printed the sample files then printed a few of my own. the last file started to home the z axis but would only home half way up. seemed to go through the leveling process and started printing up in the air. I am also getting a lidar error and the machine keep going. Does any one have and suggestions or fixes for this?
Thanks in Advance
EDIT
I figured out the bed error. I used screws to mount the top glass on the side that were too long.
still figuring out the lidar problem tho.