Added errror handling to coral reef build pop