bug fixing

but codeclimate says to remove err!!!!!!!!!!!!!!!!!!