fixes for testing profile