fixed code hinting