JBIDE-17927 i despise this code. It makes me cry.