Fixed errors when executing a piece of code