quick and dirty fix to make camera work