Fixed some issues jython would have