fix controller construct problem