handle empty slots