Fix hardfault