removed trigger and fixed compilaion.