code stype fix (possibly type problem resolving)