troubleshooting controller action in gift