fix constraints, fix startCapture on load