make sure functions return true after actions