begin to fix perspective bug