Hopefully fixed staticOption.code and deadline bugs