fixing project page to handle corner cases