not working on deployed env