fixed collection class check for 1.3.5 target core version