added return-statement to fix refresh button