Fixed errors

This should fix the errors.