Fixed errors after implementing misses"