fixed logic error in docks area