fix action controller error