fixed helper bug