working on bug
directive complete