spring is not working properly with external properties at the moment.  fixed threading