bug fixing with camera