fixed the broken create a programme page

fixes #586