fixing view controller

Signed-off-by: Richard Brown <chronosafe@gmail.com>