fixed dive error