rawFrame not working