Fixing crash issue on project and profile page