fix heated bed handling