error in customaction modified