updated master to scala 2.8.1 and added checks for nests