fixed incorrect origin bug