Fixed errors in code.