more fixes for testing profile