frontend - directive and deploy fixes