Working on space errors