Fixed bug refreshing non persistent bean