fixed access denied msg and returning nil.. properly this time.