fixed compiler errors in collectible system