Fixed: minor bug using long instead of int