fix for last commit using prototype.