Fixed errors in previous commit