remove empty statement
fixed typo
removed duplicate array key
fixed method name