prototype fix scaling issue