setting wrong prop in barrier proc