org code should not be cast to integer