Cleaned up the get attribute expression a little bit