quick fix - cast to int