fix method processing order