added parameter view view to stop crashes on button press