fix format property to allow integers