Fix trying to create empty part