bug fixing: long values are supported