Fixed errors in src code.