fixed wrong arguments for collection constructor