fix for standalone app