JBIDE-18359: Fixed regression bug

not anymore, but I'll add a check for safeness