Fixed crash with janus