Remove duplicated checkbin()