prototype fixes