fixed some non-critical flash errors